package com.ruoyi.basebill.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * OM调拨单分录对象 t_oms_transferbillentry
 * 
 * @author ptt
 * @date 2023-02-10
 */
public class OmsTransferbillentry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 父表id */
    private Long parentid;

    /** 项次 */
    @Excel(name = "项次")
    private Long lineno;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String skucode;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String skuname;

    /** 请求数量 */
    @Excel(name = "请求数量")
    private BigDecimal qty;

    /** 实发数量 */
    @Excel(name = "实发数量")
    private BigDecimal shipqty;

    /** 实收数量 */
    @Excel(name = "实收数量")
    private BigDecimal recvqty;

    /** 计量单位编码 */
    @Excel(name = "计量单位编码")
    private String unit;

    /** 基本请求数量 */
    @Excel(name = "基本请求数量")
    private BigDecimal baseqty;

    /** 基本实发数量 */
    @Excel(name = "基本实发数量")
    private BigDecimal baseshipqty;

    /** 基本实收数量 */
    @Excel(name = "基本实收数量")
    private BigDecimal baserecvqty;

    /** 基本计量单位 */
    @Excel(name = "基本计量单位")
    private String baseunit;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParentid(Long parentid) 
    {
        this.parentid = parentid;
    }

    public Long getParentid() 
    {
        return parentid;
    }
    public void setLineno(Long lineno) 
    {
        this.lineno = lineno;
    }

    public Long getLineno() 
    {
        return lineno;
    }
    public void setSkucode(String skucode) 
    {
        this.skucode = skucode;
    }

    public String getSkucode() 
    {
        return skucode;
    }
    public void setSkuname(String skuname) 
    {
        this.skuname = skuname;
    }

    public String getSkuname() 
    {
        return skuname;
    }
    public void setQty(BigDecimal qty) 
    {
        this.qty = qty;
    }

    public BigDecimal getQty() 
    {
        return qty;
    }
    public void setShipqty(BigDecimal shipqty) 
    {
        this.shipqty = shipqty;
    }

    public BigDecimal getShipqty() 
    {
        return shipqty;
    }
    public void setRecvqty(BigDecimal recvqty) 
    {
        this.recvqty = recvqty;
    }

    public BigDecimal getRecvqty() 
    {
        return recvqty;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setBaseqty(BigDecimal baseqty) 
    {
        this.baseqty = baseqty;
    }

    public BigDecimal getBaseqty() 
    {
        return baseqty;
    }
    public void setBaseshipqty(BigDecimal baseshipqty) 
    {
        this.baseshipqty = baseshipqty;
    }

    public BigDecimal getBaseshipqty() 
    {
        return baseshipqty;
    }
    public void setBaserecvqty(BigDecimal baserecvqty) 
    {
        this.baserecvqty = baserecvqty;
    }

    public BigDecimal getBaserecvqty() 
    {
        return baserecvqty;
    }
    public void setBaseunit(String baseunit) 
    {
        this.baseunit = baseunit;
    }

    public String getBaseunit() 
    {
        return baseunit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentid", getParentid())
            .append("lineno", getLineno())
            .append("skucode", getSkucode())
            .append("skuname", getSkuname())
            .append("qty", getQty())
            .append("shipqty", getShipqty())
            .append("recvqty", getRecvqty())
            .append("unit", getUnit())
            .append("baseqty", getBaseqty())
            .append("baseshipqty", getBaseshipqty())
            .append("baserecvqty", getBaserecvqty())
            .append("baseunit", getBaseunit())
            .toString();
    }
}
